<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户字典</title>
    <link rel="stylesheet" href="../../../component/pear/css/pear.css"/>
    <style>
        #elements-container {
        }

        .draggable-element {
            display: inline-block;
            border-radius: 5px; /* 设置圆角大小 */
            border: dashed 1px #999; /* 设置虚线样式及颜色 */
            background-color: #fffdef;
            text-align: center;
            margin: 5px;
            padding: 5px 10px;
            color: rgb(51, 51, 51);
            font-size: 20px;
            cursor: move;
        }
        body {
            font-family: arial;
            background: rgb(242, 244, 246);
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
    </style>
</head>
<body class="pear-container">

<div class="layui-row layui-col-space16 fpdiv">
    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12 layui-col-lg12 layui-col-xl12">
        <div class="layui-card" style="height: 93vh">
            <div class="layui-card-body">
                <div id="elements-container">
                    <div class="draggable-element d-1">张三 1</div>
                    <div class="draggable-element d-1">张三 2</div>
                    <div class="draggable-element d-1">张三 3</div>
                    <div class="draggable-element d-1">张三 4</div>
                    <div class="draggable-element d-1">张三 5</div>
                    <div class="draggable-element d-1">张三 6</div>
                    <div class="draggable-element d-1">张三 7</div>
                    <div class="draggable-element d-1">张三 8</div>
                    <div class="draggable-element d-1">张三 9</div>
                    <div class="draggable-element d-1">张三 10</div>
                    <div class="draggable-element d-1">张三 11</div>
                    <div class="draggable-element d-1">张三 12</div>
                    <div class="draggable-element d-1">张三 13</div>
                    <div class="draggable-element d-1">张三 14</div>
                    <div class="draggable-element d-1">张三 15</div>
                    <div class="draggable-element d-1">张三 16</div>
                    <div class="draggable-element d-1">张三 17</div>
                    <div class="draggable-element d-1">张三 18</div>
                    <div class="draggable-element d-1">张三 19</div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="bottom">
    <div class="button-container">
        <button type="submit" class="pear-btn pear-btn-primary pear-btn-sm" lay-submit=""
                lay-filter="save">
            <i class="layui-icon layui-icon-ok"></i>
            确定排序
        </button>
    </div>
</div>


<script src="../../../config/apiUrl.js"></script>
<script src="../../../component/layui/layui.js"></script>
<script src="../../../component/pear/pear.js"></script>
<script>
    layui.use(['tag', 'newTable', 'form', 'jquery', 'common', 'http', 'toast', 'popup', 'drawer', 'dragShift'], function () {
        let $ = layui.jquery;
        $('.draggable-element').arrangeable();

    })
</script>
</body>
</html>
